]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix prototype for shell_app_monitor_get_window_app
authorColin Walters <walters@verbum.org>
Wed, 22 Jul 2009 01:27:56 +0000 (21:27 -0400)
committerColin Walters <walters@verbum.org>
Wed, 22 Jul 2009 01:27:56 +0000 (21:27 -0400)
It contained a stale definition for the old version of _id, it
now returns the app.

src/shell-app-monitor.h

index 7ed68d05b4030ce743cb48c896b782b1e506fe76..1470455f812ad2a9b067200a2dcca81335d0c447 100644 (file)
@@ -6,6 +6,7 @@
 #include <glib.h>
 
 #include "window.h"
+#include "shell-app-system.h"
 
 /* 
  * This object provides monitoring of system application directories (.desktop files)
@@ -37,7 +38,7 @@ GType shell_app_monitor_get_type (void) G_GNUC_CONST;
 
 ShellAppMonitor* shell_app_monitor_get_default(void);
 
-char *shell_app_monitor_get_window_id (ShellAppMonitor *monitor, MetaWindow *metawin);
+ShellAppInfo *shell_app_monitor_get_window_app (ShellAppMonitor *monitor, MetaWindow *metawin);
 
 /* Get the most popular applications for a given activity */
 GSList *shell_app_monitor_get_most_used_apps (ShellAppMonitor *monitor,